package com.springboot.cloud.demos.entity.form;

import com.springboot.cloud.common.web.entity.form.BaseForm;
import com.springboot.cloud.demos.entity.po.Album;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

@ApiModel
@Data
public class AlbumForm extends BaseForm<Album> {
    @NotBlank(message = "userId")
    private String userId;
    private String id;
    @NotBlank(message = "momentId")
    private String momentId;
    private String url;
    private BigDecimal price;
    private Integer playCount=0;
    private Integer commentCount=0;
    private Integer type=2;//2;//普通图片3;//普通视频4;//普通语音
    private Integer burn=0;
    private Integer voiceLength=0;
}
